#{extends 'main.html' /} #{set title:'post idea' /}

<h3>Post an idea</h3>

#{form @topicController.postIdea()}
<p>
	<label for="title">Title: </label>
	<input type="text" name="title"
		id="title" /><span class="error" style="color: Red">#{error 'title' /}</span>
</p>
<p>
	<label for="content">Your idea: </label>
	<textarea name="content" id="content"></textarea>
</p>
<p>
	<input type="submit" value="Submit your idea" name="save" /> <input
		type="submit" value="Save as draft" name="saveDraft" />
</p>
#{/form}
